@import url(../css/common.css);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width:1024px) {

    h2,
    h3 {
        font-size: 48px;
    }

    h4 {
        font-size: 36px;
    }

    .subTitle {
        line-height: 30px;
    }

    .subTitle,
    p {
        font-size: 16px;
    }

}

@media (max-width:1144px) {
    .introImage {
        max-width: 100%;
    }
}

@media (max-width:1140px) {
    .container {
        max-width: 1144px;
    }
}

h2 {
    font-size: 60px;
}

h4 {
    font-size: 36px;
}

p {
    font-size: 16px;
}

img {
    width: 100%;
}

li {
    list-style: none;
}

//总盒子
.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1280px;
    width: 90%;
}

//第一个左边盒子，通用
.introContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 720px;


    .introText {
        display: grid;
        grid-auto-rows: 200px 130px;
        justify-content: center;
        align-content: center;
        padding-right: 70px;
        text-align: left;

        .subTitle {
            font-size: 18px;
            line-height: 32px;
        }
    }

    .introImage {
        display: grid;
        align-content: center;
    }
}

//第一个盒子
.subTitle.introDesc {
    max-width: 471px;
    margin-top: 24px;
}



//中间页面展示的掩藏与展示
.content,
.himg {
    display: none;
}

.show {
    display: block;

}

//中间展示页面
//第一个中间盒子
.features {
    text-align: center;

    //奇数个盒子背景色
    .feature:nth-child(odd) {
        background: #fafafa;

        .featureImg ul {
            padding-right: 36px;

            &>img {
                -webkit-transform: scale(.88) translateX(-60px);
                transform: scale(.88) translateX(-60px);
            }
        }
    }
}

.featureContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 850px;
    align-items: center;

    .featureImg {
        ul {
            margin-top: 48px;

            &>.himg {
                position: absolute;
                top: -9999px;
                opacity: 0;
                transition: transform .4s cubic-bezier(.57, .66, .43, 1.22), opacity .3s ease, -webkit-transform .4s cubic-bezier(.56, .66, .43, 1.22);
                max-width: 100%;
                width: 360px;

                &.show {
                    // display: block;
                    position: static;
                    opacity: 1;
                    -webkit-transform: scale(.88) translateX(0) !important;
                    transform: scale(.88) translateX(0) !important;
                    margin: 0 auto;
                }
            }
        }
    }

    .text {
        display: grid;

        text-align: left;

        &.child-1 {
            // padding-top: 208px;

            ul {
                &>li {
                    padding: 12px;

                    &:hover {
                        background: rgba(0, 0, 0, .04);
                        cursor: pointer;
                    }

                    &.show {
                        background: rgba(0, 0, 0, .04);

                        &>svg {
                            fill: #4772fa;
                        }

                        .featureItemText>.featureItemDesc {
                            display: inline;
                        }
                    }

                    svg {
                        width: 30px;
                        height: 30px;
                    }

                    display: grid;
                    grid-template-columns: 1fr 9fr;
                    // align-items: center;
                    grid-gap:12px;

                    .featureItemText {
                        display: grid;

                        .featureItemTitle {
                            font-size: 20px;
                            line-height: 34px;
                            font-weight: 700;
                        }

                        .featureItemDesc {
                            display: none;
                            line-height: 28px;
                            margin-top: 11px;
                        }

                        .featureInfo,
                        a {
                            display: none;
                        }


                    }
                }
            }
        }
    }

}